{% extends "GessehInstallBundle::Configurator/layout.html.twig" %}

{% block content_class %}config_done{% endblock %}
{% block content %}
    <h1>Well done!</h1>
    {% if is_writable %}
    <h2>Your distribution is configured!</h2>
    {% else %}
    <h2 class="configure-error">Your distribution is almost configured but...</h2>
    {% endif %}
    <h3>
        <span>
            {% if is_writable %}
                Your parameters.ini has been overwritten with these parameters (in <em>{{ ini_path }}</em>):
            {% else %}
                Your parameters.ini file is not writeable! Here are the parameters you can copy and paste in <em>{{ ini_path }}</em>:
            {% endif %}
        </span>
    </h3>

    <textarea class="symfony-configuration">{{ parameters }}</textarea>

    <ul>
      <li><a href="{{ path('_configurator_migrate') }}">Continuer</a></li>
    </ul>
{% endblock %}
